<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="
				 java.util.*,
				 com.kylin.module.shop.orm.*,
                 com.kylin.common.util.*,
				 com.kylin.common.dict.orm.Dict,
                 com.kylin.common.paginate.DisplayPage,
			     com.kylin.module.user.orm.*" %>
<%@ include file="/common/include/pageExpires.jsp"%>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ include file="/common/include/css.jsp"%>
<%
    if(request.getAttribute(Constants.KEY_REQUEST_RESULT )!=null){
        Product p = (Product)request.getAttribute(Constants.KEY_REQUEST_RESULT );
%>
<html>
<head>
<title><bean:message key="product.06" />:<%=p.getName() %></title>
</head>
<body>
<p>&nbsp;</p>
<form action="/module/shop/_nodeco/order.jsp" method="post">
	<input type="hidden" name="pid"       value="<%=p.getId()%>">
	<input type="hidden" name="pname"     value="<%=p.getName()%>">
	<input type="hidden" name="pquantity" value="<%=p.getQuantity()%>">
	<input type="hidden" name="pcurrency"     value="<%=p.getCurrency()%>">
	<input type="hidden" name="pprice"    value="<%=p.getPrice()%>">
	<input type="hidden" name="punit"     value="<%=p.getUnit()%>">

<table width="500"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
		<img src="/fileOutServlet?imgType=<%=Constants.IMG_PRODUCT %>&imgurl=<%=p.getImgurl() %>">    
	</td>
  </tr>
  <tr>
    <td height="30" align="left">
        <b><%=p.getName() %> （<bean:message key="company.42" /> <%=p.getPrice() %> <%=p.getCurrency()%>）</b>
    </td>
  </tr>
  <tr>
    <td align="left">
    <%=p.getIntroduce() %> <br />
	<bean:message key="product.03" />： <%=p.getQuantity() %> <%=p.getUnit() %><br />
 
</td>
  </tr>
  <tr align="center">
    <td height="40" valign="bottom"><input type="submit" value="<bean:message key="company.69" />"  ></td>
  </tr>
</table>
<%
    }
%>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

